package com.medium.house.service;

import com.medium.house.entity.HouseSellPoint;
import com.medium.house.response.HouseCondition;

import java.util.List;

/**
 * @Author : wang.yu
 * @Description :
 * @Date: Created in 2018/2/27 0027  16:08
 * @Modified By
 */
public interface HouseSellPointService {

    int DESC = 0;
    int ASC = 1;

    int add(HouseSellPoint dto);

    int delete(long id);

    int update(HouseSellPoint dto);

    HouseSellPoint get(long id);

    List<HouseSellPoint> getByPage(
            int start,
            int limit,
            int orderby,
            int order);

    List<Long> getIdsByPage(
            int start,
            int limit,
            int orderby,
            int order);

    long count();

    List<HouseCondition> getByTypeAndStatus(int type, int status);
}
